home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 4 / Mac Giga-ROM 4.0 - 1993.toast / FILES / DEV / C-H / CFlightSim.cpt / Flight Sim ƒ / defines.h next >
Encoding:
C/C++ Source or Header  |  1989-08-12  |  336 b   |  20 lines  |  [TEXT/KAHL]

  1. #define NOT        !
  2. #define AND        &&
  3. #define NEQ        !=
  4. #define EQ        ==
  5. #define OR        ||
  6. #define COMP    ~
  7. #define MOD        %
  8. #define SQ(x)    ((x)*(x))
  9. #define NIL        (0L)
  10.  
  11. #define ASCIItoNUM(x)    ((x)-48)
  12. #define NUMtoASCII(x)    ((x)+48)
  13.  
  14. char    *PtoCstr();
  15. char    *CtoPstr();
  16. #define    ptoc(x)        PtoCstr(x)
  17. #define    ctop(x)        CtoPstr(x)
  18.  
  19. #define    DeBug()    asm{dc.w 43519}
  20.